<?php

class BonusAccountStatementPageLink extends Extension {
	function getBonusAccountStatement(){
        $page = BonusAccountStatementPage::get()->find('ClassName', 'BonusAccountStatementPage');
        if($page) return $page;
    }
    
    function getBonusAccountStatementLink() {
        $page = $this->getBonusAccountStatement();
        if($page) return $page->Link();
    }
}
